package com.atguigu.common.exception;

public class SkuNoStockException extends RuntimeException{
    private Long skuId;
    private String msg;
    public SkuNoStockException(Long skuId){
        super(skuId + "此商品的库存不足");
    }
    public SkuNoStockException(String msg){
        super(msg);
    }
}
